<%-- 
    Document   : MemberList
    Created on : 2012-12-4, 0:13:40
    Author     : Timmy
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="<c:url value='/css/main.css'/>" rel="stylesheet" type="text/css"/>
        <link href="<c:url value='/css/tablecss.css'/>" rel="stylesheet" type="text/css"/>
        <link href="<c:url value="/css/jquery-ui-1.9.2.custom.min.css" />" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<c:url value="/scripts/jquery.js" />" ></script>
        <script type="text/javascript" src="<c:url value="/scripts/jquery-ui-1.9.2.custom.min.js" />" ></script>
    </head>
    <body>
        <h1>Registered User List</h1>
        <table class="borderAll">
            <tr>
                <th>User Name</th>
                <th>Blog</th>
                <th>Web Site</th>
                <th>Company Name</th>
                <th>Company Address</th>
                <th>Company Telephone</th>
                <th>Email</th>
                <th>Home Telephone</th>
                <th>Mobile</th>
                <th>Address</th>
                <th>Post Code</th>
                <th>Action</th>
            </tr>
            <s:iterator value="userprofiles">
                <tr>
                    <td><s:property value="userName" /></td>
                    <td><s:property value="blog" /></td>
                    <td><s:property value="webSite" /></td>
                    <td><s:property value="companyName" /></td>
                    <td><s:property value="companyAddress" /></td>
                    <td><s:property value="companyTel" /></td>
                    <td><s:property value="email" /></td>
                    <td><s:property value="homeTel" /></td>
                    <td><s:property value="mobile" /></td>
                    <td><s:property value="address" /></td>
                    <td><s:property value="postCode" /></td>
                    <td>
                        <a href="editUser_<s:property value="userName" />">Update</a>
                        <a>Payment List</a>
                    </td>
                </tr>
            </s:iterator>
        </table>
    </body>
</html>
